/**
 * Created by HeYongFeng on 2017/4/21.
 */
var windowHeight = $(window).height();
console.log(windowHeight);

$(function () {
    // 设置左右两边的高
    $('.left-menu,.right').height(windowHeight);
    $('.left-menu li').eq(0).addClass('select');
    $('.left-menu li').click(function () {
        $(this).addClass('select').siblings().removeClass('select');
    });
});